.PHONY:all
all:parser boost_search_httpServer

parser:parser.cc HtmlUtil.cc
	g++ -o $@ $^ -lboost_system -lboost_filesystem -std=c++11

boost_search_httpServer:server.cc
	g++ -o $@ $^ -ljsoncpp -lpthread -std=c++11

.PHONY:clean
clean:
	rm -rf parser boost_search_httpServer